package com.os.sys.service;

import com.os.sys.mapper.RoleMenuMapper;
import com.os.sys.pojo.SysMenu;
import com.os.sys.pojo.SysRole;
import com.os.util.Tools;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class RoleMenuService {
    @Autowired
    RoleMenuMapper roleMenuMapper;

    public List<SysMenu> getSysMenuBySysRole(List<SysRole> roleList){
        String role_ids = Tools.getIdsFromList(roleList,"role_id");
        //roleMenuMapper.selectByRoleIds();
        return null;
    }
}
